home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / minix / update~4.z / update~4 / lib_stdio_fgetc.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-09-06  |  377 b   |  25 lines

  1. /*            f g e t c
  2.  *
  3.  * This is the getc() macro wrapped inside a function. This behaves
  4.  * similarly to getc() but runs more slowly. It takes up less
  5.  * space per invocation and its name can be passed as an argument
  6.  * to other functions.
  7.  *
  8.  * Patchlevel 1.0
  9.  *
  10.  * Edit History:
  11.  */
  12.  
  13. #include "stdiolib.h"
  14.  
  15. /*LINTLIBRARY*/
  16.  
  17. int fgetc(iop)
  18.  
  19. FILE *iop;
  20.  
  21. {
  22.   return getc(iop);
  23. }
  24.  
  25.